package com.yygo.service.impl;

import com.yygo.dao.ContractNumberDao;
import com.yygo.dao.RequestNumberDao;
import com.yygo.model.ContractNumberGenerator;
import com.yygo.model.RequestNumberGenerator;
import com.yygo.service.ContractNumberManager;
import com.yygo.service.RequestNumberManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by tiansha on 2015/6/25.
 */
@Service("contractNumberManager")
public class ContractNumberManagerImpl extends GenericManagerImpl<ContractNumberGenerator, Long> implements ContractNumberManager {

    private ContractNumberDao contractNumberDao;

    @Autowired
    public ContractNumberManagerImpl(ContractNumberDao contractNumberDao) {
        super(contractNumberDao);
        this.contractNumberDao = contractNumberDao;
    }
}
